public class Point2D extends Point
swigCMemOwn
Modifier | Constructor and Description |
---|---|
|
Point2D() |
|
Point2D(double xv,
double yv) |
protected |
Point2D(long cPtr,
boolean cMemoryOwn) |
|
Point2D(Point2D other) |
|
Point2D(Point3D p3d) |
Modifier and Type | Method and Description |
---|---|
double |
angleTo(Point2D other) |
Point |
copy() |
void |
delete() |
long |
dimension() |
Point2D |
directionVector(Point2D other) |
double |
dotProduct(Point2D other) |
protected void |
finalize() |
protected static long |
getCPtr(Point2D obj) |
double |
getX() |
double |
getY() |
double |
length() |
double |
lengthSq() |
Point2D |
minus(Point2D other) |
void |
normalize() |
void |
rotate90() |
void |
setX(double value) |
void |
setY(double value) |
double |
signedAngleTo(Point2D other) |
protected Point2D(long cPtr, boolean cMemoryOwn)
public Point2D()
public Point2D(double xv, double yv)
public Point2D(Point2D other)
public Point2D(Point3D p3d)
protected static long getCPtr(Point2D obj)
public void setX(double value)
public double getX()
public void setY(double value)
public double getY()
public void rotate90()
public double dotProduct(Point2D other)
public double angleTo(Point2D other)
public double signedAngleTo(Point2D other)